//
//  Person.h
//  Cabinet
//
//  Created by Florent Montsegur on 27/04/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface Person : NSManagedObject {
@private
}
@property (nonatomic, strong) NSString * Commentaires;
@property (nonatomic, strong) NSString * Nom;
@property (nonatomic, strong) NSDate * Naissance;
@property (nonatomic, strong) NSString * Prenom;
@property (nonatomic, strong) NSSet* Consultations;
@property (nonatomic, strong) NSNumber* MedecinTraitant;
@property (nonatomic, strong) NSNumber* Sexe;
@property (nonatomic, strong) NSSet* Vaccinations;


- (NSInteger)calculAge;

@end

@interface Person (CoreDataGeneratedAccessors)

- (void)addVaccinationsObject:(NSManagedObject *)value;
- (void)removeVaccinationsObject:(NSManagedObject *)value;
- (void)addVaccinations:(NSSet *)values;
- (void)removeVaccinations:(NSSet *)values;

- (void)addConsultationsObject:(NSManagedObject *)value;
- (void)removeConsultationsObject:(NSManagedObject *)value;
- (void)addConsultations:(NSSet *)values;
- (void)removeConsultations:(NSSet *)values;

@end